//
//  ProductButton.m
//  NekaPrice
//
//  Created by yu on 2018/6/14.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import "ProductButton.h"

@implementation ProductButton

- (instancetype)init {
    if (self = [super init]) {
        self.titleLabel.font = [UIFont boldSystemFontOfSize:12];
        self.layer.masksToBounds = YES;
        self.layer.cornerRadius = 4;
        self.backgroundColor = [UIColor colorWithHexString:@"#0a376b"];
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor colorWithHexString:@"#77a1ff"] forState:UIControlStateSelected];
    }
    return self;
}

@end
